package com.zxjbyte.yiyi.framework.oss.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * minio策略配置
 *
 * @Author zhangxingjia
 * @Date 2023/6/29 16:57
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum PolicyType {

    /**
     * 只读
     */
    READ_ONLY("read_only", "只读"),

    /**
     * 只写
     */
    WRITE_ONLY("write_only", "只写"),

    /**
     * 读写
     */
    READ_WRITE("read_write", "读写");

    /**
     * 类型
     */
    private final String type;
    /**
     * 描述
     */
    private final String policy;
}
